package cc.fs.study.right;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import cc.fs.study.R;

/**
 * 权限管理判断器
 * Created by fostion on 8/8/16.
 */
public class RightBaseActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        this.setContentView(R.layout.activity_image);
    }

    /**
     * 权限判断并根据不同跳到不同页面
     */
    @Override
    public void startActivityForResult(Intent intent, int requestCode, Bundle options) {
        super.startActivityForResult(intent, requestCode, options);
        //判断权限并且根据不同做不同的处理
    }
}
